<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}datalist.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
</head>
<body>
{template "content","header_common"}
<div id="page">



<div id="boardbox">
	<div class="crumb">
		<b>当前位置：</b>
		<a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 列表
	</div>
	
	<div class="leftside">
		<span class="hotboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道总排行</span></h3>
			<span class="outerbox">
				{pc:content action="hits" catid="$catid" num="20" order="views DESC" cache="3600"}
				<ul>
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank">{str_cut($r[title],50,'...')}</a></li>
					{/loop}
				</ul>
				{/pc}
			</span>
		</span>
		
		<span class="seboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道本月排行</span></h3>
			<span class="outerbox">
				{pc:content action="hits" catid="$catid" num="8" order="monthviews DESC" cache="3600"}
				<ul class="content rank">
					{loop $data $r}
					<li><span>已被<b>{number_format($r[monthviews])}</b>人访问</span><a href="{$r[url]}"{title_style($r[style])} title="{$r[title]}">{str_cut($r[title],30,'...')}</a></li>
					{/loop}
				</ul>
				{/pc}
			</span>
		</span>
	</div>
	
	<div class="rightside">
		<span class="listbox">
			<h3>列表标题</h3>
			<dl>
				<dt><span class="t_title">标题</span><span class="t_purview">权限</span><span class="t_time">发布时间</span></dt>
				{pc:content action="lists" catid="$catid" num="50" moreinfo="1" order="id DESC" page="$page"}
				{loop $data $r}
				<dd>
					<span class="purview">{if $r[readpoint]>0}收费{else}免费{/if}</span>
					<span class="time">{date('Y-m-d',$r[inputtime])}</span>
					<a href="{$r[url]}" target="_blank"{title_style($r[style])} title="{$r[title]}">{$r[title]}</a>
				</dd>
				{/loop}
				{/pc}
			</dl>
			<div id="pages" class="text-c">{$pages}</div>
		</span>
	</div>
	
	<div class="clear">&nbsp;</div>
</div><!-- css id boardbox end -->

{template "content","footer_cat"}